home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 5
/
Apprentice-Release5.iso
/
Demos
/
Bowers Development
/
AppMaker 2.0b5
/
Examples
/
PowerPlant
/
Gadgets
/
CSliders.h
< prev
next >
Wrap
Text File
|
1996-03-19
|
1KB
|
58 lines
// CSliders.h -- window class
// Created 3/19/96 12:49 PM by AppMaker
#pragma once
#include <LWindow.h>
#include <LListener.h>
class CGadgetsData;
class LStream;
class LStdControl;
//----------
class CSliders : public LWindow,
public LListener {
public:
static CSliders* CreateSliders (LCommander *inSuperCommander,
CGadgetsData *inData);
static CSliders* CreateSlidersStream (LStream *inStream);
CSliders();
CSliders (LStream *inStream);
virtual ~CSliders();
virtual void ListenToMessage (MessageT inMessage,
void *ioParam);
virtual Boolean ObeyCommand (CommandT inCommand,
void *ioParam = nil);
virtual void FindCommandStatus (CommandT inCommand,
Boolean &outEnabled,
Boolean &outUsesMark,
Char16 &outMark,
Str255 outName);
virtual Boolean FocusDraw();
protected:
static void RegisterClass();
virtual void FinishCreateSelf();
virtual void ConnectToData (CGadgetsData *inData);
protected:
protected:
static Boolean sIsRegistered;
CGadgetsData *mData;
// Panes in this window:
LStdControl* mVerticalScroll;
LStdControl* mSliderScroll;
LStdControl* mSpinnerScroll;
LStdControl* mHorizontalScroll;
LStdControl* mPictSliderScroll;
};